package com.charon.module.music.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.charon.module.music.dao.SongNewEntityMapper;
import com.charon.module.music.entity.SongNewEntity;

@Service
public class SongNewService {
	
	@Autowired
	SongNewEntityMapper snem;
	
    public int deleteByPrimaryKey(Integer id){
    	return snem.deleteByPrimaryKey(id);
    }

    public int insert(SongNewEntity record){
    	return snem.insert(record);
    }

    public int insertSelective(SongNewEntity record){
    	return snem.insertSelective(record);
    }

    public SongNewEntity selectByPrimaryKey(Integer id){
    	return snem.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(SongNewEntity record){
    	return snem.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(SongNewEntity record){
    	return 	snem.updateByPrimaryKey(record);
    }
}
